<?php
/**
 * Created by PhpStorm.
 * User: man0sions
 * Date: 16/8/31
 * Time: 下午10:01
 */

namespace src\Base\Builder;

use src\models\ThirdPlaylist;

/**
 * Interface TodolistInterface
 * @package srcBase\Builder
 */
interface TodolistInterface
{
    function getPlaylistFromApi($url);
    function formatPlaylist(\stdClass $class);
    function savePlaylist(\stdClass $class);
    function getVideosFromApi($url,ThirdPlaylist $playlist);
    function formatVideo(\stdClass $stdClass);
    function saveVideo(\stdClass $stdClass);
}